package com.bb.flow.service.imp.node.UserLoginFlow;

import com.bb.flow.api.entries.FlowContext;
import com.bb.flow.service.imp.node.FlowNodeBase;

public class CreateValidateCode extends FlowNodeBase {
    @Override
    public void execute() {
        //        System.out.println("=================creating validated code start =================");
        //        System.out.println("执行" + this.toString());
        //        try {
        //            Thread.sleep(100);
        //        } catch (InterruptedException e) {
        //            e.printStackTrace();
        //        }
        //        System.out.println("=================creating validated code Over  =================");
        FlowContext flowNodeData = this.getFlowNodeData();
        String sss = "流程模板:" + flowNodeData.getFlowTemplateName() + ",流程实例:" + flowNodeData.getFlowInstanceName()
                     + "流程节点:" + flowNodeData.getNodeKey();
        System.out.println(sss);

        notifyDriver();
    }
}
